package org.jeecg.modules.iot.devicesrecord.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 识别记录
 * @Author: jeecg-boot
 * @Date:   2021-11-18
 * @Version: V1.0
 */
@Data
@TableName("iot_devices_record")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="iot_devices_record对象", description="识别记录")
public class DevicesRecord implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private String id;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private Date updateTime;
	/**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private String sysOrgCode;
	/**流水号*/
	@Excel(name = "流水号", width = 15)
    @ApiModelProperty(value = "流水号")
    private String authSerial;
	/**认证方式*/
	@Dict(dicCode = "auth_mode")
	@Excel(name = "认证方式", width = 15,dicCode = "auth_mode")
    @ApiModelProperty(value = "认证方式")
    private Integer authMode;
	/**识别时间*/
	@Excel(name = "识别时间", width = 15, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "识别时间")
    private Date authTime;
	/**抗疫情对比结果*/
	@Excel(name = "抗疫情对比结果", width = 15)
    @ApiModelProperty(value = "抗疫情对比结果")
    private String authKyq;
	/**姓名*/
	@Excel(name = "姓名", width = 15)
    @ApiModelProperty(value = "姓名")
    private String psnName;
	/**性别*/
	@Dict(dicCode = "sex")
	@Excel(name = "性别", width = 15,dicCode = "sex")
    @ApiModelProperty(value = "性别")
    private Integer psnGender;
	/**人员类别*/
	@Dict(dicCode = "psn_type")
	@Excel(name = "人员类别", width = 15,dicCode = "psn_type")
    @ApiModelProperty(value = "人员类别")
    private Integer psnType;
	/**国籍*/
	@Dict(dicCode = "psn_nationality")
	@Excel(name = "国籍", width = 15,dicCode = "psn_nationality")
    @ApiModelProperty(value = "国籍")
    private Integer psnNat;
	/**体温*/
	@Excel(name = "体温", width = 15)
    @ApiModelProperty(value = "体温")
    private String psnTemperature;
	/**图片*/
	@Excel(name = "图片", width = 15)
    @ApiModelProperty(value = "图片")
    private String psnFace;
	/**抗疫情人脸*/
	@Excel(name = "抗疫情人脸", width = 15)
    @ApiModelProperty(value = "抗疫情人脸")
    private String kyqFace;
	/**二维码*/
	@Excel(name = "二维码", width = 15)
    @ApiModelProperty(value = "二维码")
    private String psnQrcode;
	/**身份证号*/
	@Excel(name = "身份证号", width = 15)
    @ApiModelProperty(value = "身份证号")
    private String psnCardno;
	/**卡号*/
	@Excel(name = "卡号", width = 15)
    @ApiModelProperty(value = "卡号")
    private String psnCardnum;
	/**播报内容*/
	@Excel(name = "播报内容", width = 15)
    @ApiModelProperty(value = "播报内容")
    private String prompts;
	/**设备名称*/
	@Excel(name = "设备名称", width = 15)
    @ApiModelProperty(value = "设备名称")
    private String devName;
	/**设备编号*/
	@Excel(name = "设备编号", width = 15)
    @ApiModelProperty(value = "设备编号")
    private String devSn;
	/**设备类型*/
    @Excel(name = "设备类型", width = 15, dicCode = "dev_type")
    @Dict(dicCode = "dev_type")
    @ApiModelProperty(value = "设备类型")
    private Integer devType;
	/**地址*/
	@Excel(name = "地址", width = 15)
    @ApiModelProperty(value = "地址")
    private String devAddress;
	/**坐标*/
	@Excel(name = "坐标", width = 15)
    @ApiModelProperty(value = "坐标")
    private String devLocation;
	/**方向*/
	@Excel(name = "方向", width = 15)
    @ApiModelProperty(value = "方向")
    private String devDirection;
    /**备注*/
    @Excel(name = "备注", width = 15)
    @ApiModelProperty(value = "备注")
    private String remarks;

}
